boa_ast 0.17.3

Abstract Syntax Tree definition for the Boa JavaScript engine.
Documentation

Boa's boa_ast crate implements an ECMAScript abstract syntax tree.

Crate Overview

boa_ast contains representations of Parse Nodes as defined by the ECMAScript spec. Some Parse Nodes are not represented by Boa's AST, because a lot of grammar productions are only used to throw Early Errors, and don't influence the evaluation of the AST itself.

Boa's AST is mainly split in three main components: [Declaration]s, [Expression]s and [Statement]s, with [StatementList] being the primordial Parse Node that combines all of them to create a proper AST.